package com.ruoyi.userInfo.domain;

import com.baomidou.mybatisplus.annotation.TableField;

import java.math.BigInteger;
import java.util.List;

/**
 * Author: Z.H.Z
 * Date: 2025/2/6 14:58
 */
public class IaeRegions {

    private Integer id;

    private String name;

    private Integer parentId;

    private BigInteger setAccountId;

    private BigInteger tenantId;

    public BigInteger getTenantId() {
        return tenantId;
    }

    public void setTenantId(BigInteger tenantId) {
        this.tenantId = tenantId;
    }

    @TableField(exist = false)
    private List<IaeRegions> children;

    public BigInteger getSetAccountId() {
        return setAccountId;
    }

    public void setSetAccountId(BigInteger setAccountId) {
        this.setAccountId = setAccountId;
    }

    public List<IaeRegions> getChildren() {
        return children;
    }

    public void setChildren(List<IaeRegions> children) {
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public IaeRegions() {
    }

    public IaeRegions(Integer id, String name, Integer parentId, BigInteger setAccountId, BigInteger tenantId, List<IaeRegions> children) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.setAccountId = setAccountId;
        this.tenantId = tenantId;
        this.children = children;
    }
}
